<?php include(VIEW."header_art.php"); ?>
	<body>
	
		<div class="widget-box">
				<div class="widget-title">
					<span class="icon">
						<i class="icon-th"></i>
					</span>
					<h5>网络列表</h5>
				</div>
				<div class="widget-content" style="height:300px;">
					<table width="100%" height="100" class="table table-bordered table-striped">
						
						<tbody>
							<?php foreach ($list as $key=>$v) { ?>	
							<tr>
								<td><?php echo $v["ifname"]?></td>
								<td><?php echo $v["name"]?></td>
                                <td><?php echo $v["mac"]?></td>
                                <td><?php echo $v["type"]?></td>
                                <td><?php echo $v["name"]?></td>
                                <td><?php echo $v["name"]?></td>
								<td><div class="btn-group">
									  <button data-toggle="dropdown" class="btn btn-primary dropdown-toggle">Action <span class="caret"></span></button>
									  <ul class="dropdown-menu">
										<li><a href="<?=ACT?>/Network/network_modify/ifname/<?php echo $v["ifname"]?>/">Modify</a></li>
									  </ul>
									</div></td>
							</tr>
							
							<?php }?>	
						</tbody>
				  </table>							
				</div>
		</div>
	</body>
</html>
